<div>
    <app-device-debug-am *ngIf="isConfigShow && LoginForm['type']=='cab58'" (close)="closeDebug($event)" (offLine)="showTip($event)"></app-device-debug-am>
    <app-device-debug-rf *ngIf="isConfigShow && LoginForm['type']=='cab09'" (close)="closeDebug($event)" (offLine)="showTip($event)"></app-device-debug-rf>
    <app-device-debug-cab07 *ngIf="isConfigShow && LoginForm['type']=='cab07'" (close)="closeDebug($event)" (offLine)="showTip($event)"></app-device-debug-cab07>
    <app-device-debug-db112 *ngIf="isConfigShow && LoginForm['type']=='db112'" (close)="closeDebug($event)" (offLine)="showTip($event)"></app-device-debug-db112>
    <nz-modal nzWidth="450" [(nzVisible)]="isOffLineShow" [nzTitle]="null" [nzContent]="modalContent" [nzFooter]="modalFooter" nzClosable=false>
        <ng-template #modalContent>
            <div class="wt_600 text-center am-mb-16">{{'device_disconnected' | translate}},{{'check_device' | translate}}!</div>
        </ng-template>
        <ng-template #modalFooter>
          <button nz-button  nzType="primary" (click)="OK()">{{'close' | translate}}</button>
        </ng-template>
    </nz-modal>
</div>
